<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    <script src="js/mui.min.js"></script>
    <link href="css/mui.min.css" rel="stylesheet"/>
    <script src="js/jquery-2.2.1.js"></script>
    <script type="text/javascript" charset="UTF-8">
      
    </script>
</head>
<body>
		<div class="mui-input-row" style="">
						<label style="font-size: 12px;">用户名:</label>
						<input id="username" type="text" placeholder="请输入账号" style="border: 1px solid darkgrey;">
		</div>
		<div class="mui-input-row" style="margin-top: 20px;">
						<label style="font-size: 12px;">密码:</label>
						<input id="password" type="password" class="mui-input-password" style="border: 1px solid darkgrey;">
		</div>
		<div class="mui-input-row" style="margin-top: 20px;">
						<label style="font-size: 12px;">确认密码:</label>
						<input type="password" class="mui-input-password" style="border: 1px solid darkgrey;">
		</div>
		<div style="text-align: center; margin-top: 20px;">
		<button id="zhuc">确定注册</button>
		</div>
		<script>
			$("#zhuc").click(function(){
				$.post("http://localhost:8080/insertuser",
				{username:$("#username").val(),password:$("#password").val()},function(data){
					if(data){
						alert("注册成功");
//						mui.openWindow({
//  						url:'two.html',
//  						id:'two.html',
//  						extras:{
//      					name:'username',
//      					version:data[0].userName,
//      					name:'password',
//      					version:data[0].passWord,
//  						}
//						});
					}
				})
			})
		</script>
		<div id="aa">
			
		</div>
</body>
</html>